package com.unicorn.modual.fts.service;

import com.unicorn.entity.enums.SupportFileType;
import com.unicorn.vo.FileVO;

import java.io.File;
import java.util.List;

/**
 * Created by user on 2016/12/3.
 */
public interface FtsService {

     List<FileVO> listFiles(String parentPath);

     FileVO createFileOrDirectory(SupportFileType fileType, String name, String parentPath);

     List<FileVO> listFiles(File parentFile);

    boolean deleteFileOrDirectory(String fileName, String parentPath);
}
